{% load forum_tags %}
  <div class="ui horizontal basic top-menu segments">
            <div style="padding-right: 19px;">
                <div class="ui small compact menu sorting no-box-shadow">
                    <div class="ui simple dropdown item">
                        Limit
                        <i class="dropdown icon"></i>
                        <div class="menu">
                            <a class="item" href="{% relative_url 'all' 'limit' params %}">
                                <i class="{% activate_check_mark limit 'all' %}"></i>all time
                            </a>
                            <a class="item" href="{% relative_url 'today' 'limit' params %}">
                                <i class="{% activate_check_mark limit 'today' %}"></i>today
                            </a>
                            <a class="item" href="{% relative_url 'week' 'limit' params %}">
                                <i class="{% activate_check_mark limit 'week' %}"></i>this week
                            </a>
                            <a class="item" href="{% relative_url 'month' 'limit' params %}">
                                <i class="{% activate_check_mark limit 'month' %}"></i>this month
                            </a>
                            <a class="item" href="{% relative_url 'year' 'limit' params %}">
                                <i class="{% activate_check_mark limit 'year' %}"></i>this year
                            </a>
                        </div>
                    </div>
                </div>
            </div>

            <div style="padding-right: 19px;">
                <div class="ui small compact menu sorting no-box-shadow ">
                    <div class="ui simple dropdown item">
                        Sort
                        <i class="dropdown icon"></i>
                        <div class="menu">
                            <a class="item" href="{% relative_url 'visit' 'order' params %}">
                                <i class="{% activate_check_mark order 'visit' %}"></i>recent visit
                            </a>
                            <a class="item"
                               href="{% relative_url 'reputation' 'order' params %}">
                                <i class="{% activate_check_mark order 'reputation' %}"></i>reputation
                            </a>
                            <a class="item" href="{% relative_url 'joined' 'order' params %}">
                                <i class="{% activate_check_mark order 'joined' %}"></i>date joined
                            </a>
                            <a class="item"
                               href="{% relative_url 'activity' 'order' params %}">
                                <i class="{% activate_check_mark order 'activity' %}"></i>activity level
                            </a>

                        </div>

                    </div>
                </div>
            </div>
            {% search_bar users=True %}

        </div>